home *** CD-ROM | disk | FTP | other *** search
- *** 1.2 1991/06/24 00:18:27
- --- read.c 1992/04/19 16:33:49
- ***************
- *** 31,37 ****
- #endif
-
- #define iswhite(c) ((c) == ' ' || (c) == '\t')
- ! #define isvisable(c) ((c) >= ' ' && (c) < 0x7f)
- #define echochar(fd, c) if (__ttymode & ECHO) (void) _echochar(fd, c); else
- #define delchar(fd, n) if (__ttymode & ECHO) _delchar(fd, n); else
-
- --- 31,37 ----
- #endif
-
- #define iswhite(c) ((c) == ' ' || (c) == '\t')
- ! #define isvisable(c) ((unsigned char)(c) >= ' ')
- #define echochar(fd, c) if (__ttymode & ECHO) (void) _echochar(fd, c); else
- #define delchar(fd, n) if (__ttymode & ECHO) _delchar(fd, n); else
-
- ***************
- *** 297,303 ****
- int len = 0;
- char c = thebuf[n];
-
- ! if (c > 0 && c < ' ' || c == 0x7f) {
- if (c == '\t')
- len = __col_pos - str_length(thebuf, n);
- else
- --- 297,303 ----
- int len = 0;
- char c = thebuf[n];
-
- ! if ((c >= 0 && c < ' ') || c == 0x7f) {
- if (c == '\t')
- len = __col_pos - str_length(thebuf, n);
- else
- ***************
- *** 322,328 ****
-
- while (n--) {
- c = *p++;
- ! if (c > 0 && c < ' ' || c == 0x7f)
- if (c == '\t')
- pos = (pos | 7) + 1;
- else
- --- 322,328 ----
-
- while (n--) {
- c = *p++;
- ! if ((c >= 0 && c < ' ') || c == 0x7f)
- if (c == '\t')
- pos = (pos | 7) + 1;
- else
-